<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <style type="text/css">
        body {
            font-family: SimSun;
            font-size: 10px;
        }

        #lrdn {
            border-collapse: collapse;
            width:100%;
        }

        #lrdn td {
            border: 1px solid black;
            height: 59px;
            text-align: center;
        }
        #wrapper {
            text-align: center;
        }
    </style>
</head>

<body>
<div id="wrapper">
<h1 id="title" >从业人员信息</h1>
</div>
<table id="lrdn" class="layui-table" >
    <tr style="height: 50px;">
        <td>姓名</td>
        <td th:text="${name}"></td>
        <td>职位</td>
        <td th:text="${postName}"></td>
        <td rowspan="2" style="width: 86px;padding:0;">
            <img th:src="${avatar}"></img>
        </td>
    </tr>
    <tr style="height: 50px;">
        <td>部门</td>
        <td th:text="${departmentName}"></td>
        <td>是否在职</td>
        <td>
            <span th:if="${status}==1">在职</span>
            <span th:if="${status}==2">离职</span>
        </td>
    </tr>
    <tr style="height: 50px;">
        <td>是否全职</td>
        <td>
            <span th:if="${fullTime}==true">全职</span>
            <span th:if="${fullTime}==false">兼职</span>
        </td>
        <td>身份证号</td>
        <td colspan="2" th:text="${idNo}"></td>
    </tr>

    <tr>
        <td>证书</td>
        <td colspan="4" style="text-align: left;padding:2px;">
            <img style="width: 400px;margin-left:10px;" th:each="employeeCertificate:${employeeCertificateList}" th:src="${employeeCertificate.path}" alt="资质证书"></img>
        </td>
    </tr>
</table>
</body>
</html>